from django.conf.urls import patterns, include, url
import views,polls



urlpatterns = patterns('',
	url(r'^$',views.database_one),
	(r'^searchform/$', views.search_form),
	(r'^search/$',views.search),
	(r'^contactform/$',views.contact),
	(r'^thinks/$',views.thinks),
)

urlpatterns += patterns('books.views',
	(r'^baa/$','bar_view',{'template_name':'index.html'}),
	(r'^foo/$','foobar_view',{'template_name':'index.html'}),
	(r'^bar/$','foobar_view',{'template_name':'jicheng_model.html'}),
	(r'^mydata/birthday/$','my_view',{'month':'jan','day':'06'}),
	(r'^mydata/(?P<month>\w{3})/(?P<day>\d\d)/$','my_view'),

)



